package com.permission_server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @TableName sys_menu_type
 */
@TableName(value = "sys_menu_type")
@Data
@ApiModel(value = "com.permission_server.entity.SysMenuTypeEntity", description = "菜单类型")
public class SysMenuTypeEntity implements Serializable {
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键ID", dataType = "String")
    private String id;

    /**
     * 菜单类型
     */
    @TableField(value = "type")
    @ApiModelProperty(value = "菜单类型", dataType = "Integer")
    private Integer type;

    /**
     * 类型名称
     */
    @TableField(value = "name")
    @ApiModelProperty(value = "类型名称", dataType = "String")
    private String name;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
